Re: [NTG-context] Setting table of contents depth by number rather than by list

2021-12-24 Thread Bruce Horrocks via ntg-context
using an Emacs macro to do the export then the following code will return the first 2 from the list of section types: (let ((list '("part" "chapter" "section" "subsection" "subsubsection" "subsubsubsection" "subsubsubsubsection

[NTG-context] Indenting number in TOC, particular numbering scheme, and other questions

2019-12-02 Thread Daniel Haid
section, subsection, subsubsection, subsubsubsection, subsubsubsubsection, subsubsubsubsubsection, subsubsubsubsubsubsection, subsubsubsubsubsubsubsection][sectionconversionset=myconvset] \setuphead[chapter][sectionsegments=chapter] \setuphead[section][sectionsegments=section] \setuphead[subsection

Re: [NTG-context] Are nested sections possible?

2016-03-11 Thread Andreas Schneider
to subsubsubsubsection), you may need to define your own using \definesectionlevels. Best regards Andreas Am 2016-03-11 09:08, schrieb m...@silentumbrella.com: Greetings, Is it possible to have \starttext \startchapter Hey a chapter! \startsection something.one \startsection someting.one.one

Re: [NTG-context] \startstructurelevel

2013-10-25 Thread Wolfgang Schuster
and normal section command. When you want a \section for the first level change the level settings with \definesectionlevels [default] [section, subsection, subsubsection, subsubsubsection, subsubsubsubsection] and use \starttext \startsectionlevel[title=Section] \startsectionlevel[title

Re: [NTG-context] Different counters for titles

2013-09-03 Thread Hans Hagen
are : \definesection[section-1] % part \definesection[section-2] % chapter \definesection[section-3] % section \definesection[section-4] % subsection \definesection[section-5] % subsubsection \definesection[section-6] % subsubsubsection \definesection[section-7] % subsubsubsubsection There's

Re: [NTG-context] setuphead and Table of Content

2013-03-31 Thread Sietse Brouwer
!content] [\v!part, \v!chapter, \v!section, \v!subsection, \v!subsubsection, \v!subsubsubsection, \v!subsubsubsubsection] [\c!level=\v!subsubsubsubsection, \c!criterium=\v!local] Hope this helps! Cheers, Sietse

[NTG-context] structure levels

2010-09-29 Thread Hans Hagen
\stopstructurelevel \stopstructurelevel \stopstructurelevel \stoptext this uses \definestructurelevels [default] [chapter, section, subsection, subsubsection, subsubsubsection, subsubsubsubsection] The more verbose variant is still there: \definehead[xxsection

[NTG-context] \setupcombinedlist ignores `level' argument?

2010-09-18 Thread Corsair
[content][level=section] \starttext \completecontent \chapter{Level 0} \section{Level 1} \subsection{Level 2} \subsubsection{Level 3} \subsubsubsection{Level 4} \subsubsubsubsection{Level 5} \stoptext Is this a bug, or I did something wrong? -- There is no emotion; there is peace. There is no ignorance

[NTG-context] numbers missing in subsubsubsubsubsubsection

2010-09-11 Thread Steffen Wolfrum
Hi all, how do I get my numbers in level nine (and higher) back? See example below please. Did someone change module[subsub] ?? Thanks in advance, Steffen [2010.09.05 13:23 MKIV] = \usemodule[subsub] \starttext \definehead [LevelSeven] [subsubsubsubsection] \definehead [LevelNine

Re: [NTG-context] table of contents

2010-04-30 Thread Wolfgang Schuster
, subsubsection, subsubsubsection, subsubsubsubsection, title, subject, subsubject, subsubsubject, subsubsubsubject, subsubsubsubsubject] [criterium=all] \startsectionblockenvironment[frontpart] \setuphead[title,subject,subsubject][incrementnumber=no] \stopsectionblockenvironment

[NTG-context] Table of contents disappears when \setuparranging is used

2010-03-05 Thread berend
in the log file: system : part,chapter,section,subsection,subsubsection,subsubsubsectio n,subsubsubsubsection not found/processed -- All the best, Berend de Boer ___ If your question is of interest to others

Re: [NTG-context] Doc to ConTeXt [was Re: HTML to ConTeXt]

2007-11-09 Thread Saji Njarackalazhikam Hameed
h4 element with subsection (@article/h4).each do |h4| h4.swap(\\subsubsubsection{#{h4.inner_html}}) end # replace h5 element with subsection (@article/h5).each do |h5| h5.swap(\\subsubsubsubsection{#{h5.inner_html}}) end # replace precode by equivalent command in context (@article/pre).each do

[NTG-context] also install problems (luatex)

2007-08-10 Thread WolfgangZ
[subsectionnumber] system : mark subsubsection defined [subsubsection] system : mark subsubsectionnumber defined [subsubsectionnumber] system : mark subsubsubsection defined [subsubsubsection] system : mark subsubsubsectionnumber defined [subsubsubsectionnumber] system : mark subsubsubsubsection defined

[NTG-context] Html to Context using Wiki + hpricot

2007-07-11 Thread Saji Njarackalazhikam Hameed
.swap(\\subsubsection{#{h3.inner_html}}) end # replace h4 element with subsection (@article/h4).each do |h4| h4.swap(\\subsubsubsection{#{h4.inner_html}}) end # replace h5 element with subsection (@article/h5).each do |h5| h5.swap(\\subsubsubsubsection{#{h5.inner_html}}) end # replace precode

Re: [NTG-context] How to format the line Table of Contents ?

2007-06-05 Thread David Arnold
,subsubsubsubsection] [level=subsubsubsubsection, criterium=local] \def\PageCommand#1{Page #1} \setuplist [chapter] [before=\blank, after=\blank, style=bold, pagecommand=\PageCommand] \setuplist [section] [pagecommand=\PageCommand, alternative=c] \starttext \TocHead{Table of Contents

[NTG-context] Install mess (Type3 Fonts)

2006-03-20 Thread nico
: - \headtext {content} (./programlisting.001.tuo) system : part,chapter,section,subsection,subsubsection,subsubsubsectio n,subsubsubsubsection not found/processed structure : end of sectionblock frontmatter [2.1] structure : begin of sectionblock bodymatter [3.2] structure : end

Re: [NTG-context] installing context

2005-10-03 Thread Rob Ermers
subsubsubsectionnumber defined [subsubsubsectionnumber] system : mark subsubsubsubsection defined [subsubsubsubsection] system : mark subsubsubsubsectionnumber defined [subsubsubsubsectionnu mber] system : mark title defined [title] system : mark titlenumber

[NTG-context] installing context

2005-10-02 Thread Rob Ermers
[subsubsubsectionnumber] system : mark subsubsubsubsection defined [subsubsubsubsection] system : mark subsubsubsubsectionnumber defined [subsubsubsubsectionnu mber] system : mark title defined [title] system : mark titlenumber defined [titlenumber] system : mark subject

Re: [NTG-context] New contexts version

2005-08-28 Thread Rob Ermers
subsubsubsubsection defined [subsubsubsubsection] system : mark subsubsubsubsectionnumber defined [subsubsubsubsectionnu mber] system : mark title defined [title] system : mark titlenumber defined [titlenumber] system : mark subject defined [subject] system : mark

Re: [NTG-context] Getting ToC to match page numbering

2005-08-01 Thread Duncan Hothersall
={/}] \setuplist [subsubsubsection][separator={/}] \setuplist [subsubsubsubsection] [separator={/}] Taco Has no effect - tried this early on. Thanks for the suggestion. Seems like this *should* be the answer though... My current test file is a bit large, because I'm developing a whole

Re: [NTG-context] patterns

2005-02-14 Thread Willi Egger
] system : mark subsubsubsubsection defined [subsubsubsubsection] system : mark subsubsubsubsectionnumber defined [subsubsubsubsectionnu mber] system : mark title defined [title] system : mark titlenumber defined [titlenumber] system : mark subject defined

Re: [NTG-context] XML command synonyms

2003-09-29 Thread Simon Pepping
On Sat, Sep 27, 2003 at 12:18:21PM +0200, Hans Hagen wrote: At 07:41 27/09/2003 +0200, you wrote: From: Simon Pepping [EMAIL PROTECTED] P: How to define '' as a synonym of 'subsubsubsubsection' without wrtiting P: the same code twice? From DocbookInContext: %D A \type{\let

Re: [NTG-context] XML command synonyms

2003-09-27 Thread Hans Hagen
At 07:41 27/09/2003 +0200, you wrote: From: Simon Pepping [EMAIL PROTECTED] P: How to define '' as a synonym of 'subsubsubsubsection' without wrtiting P: the same code twice? From DocbookInContext: %D A \type{\let} for XML environments \def\letXMLenvironment#1#2% {\letvaluevalue

[NTG-context] XML command synonyms

2003-09-25 Thread Pawel Jackowski na Onet
Hi all! Is there any way to define XML command synonyms? Assume that one defined \deifneXMLenvirnment[subsubsubsubsection]{...}{...} How to define '' as a synonym of 'subsubsubsubsection' without wrtiting the same code twice? Thanks, Pawe/l

Re: [NTG-context] XML command synonyms

2003-09-25 Thread Willi Egger
Hi Pawel Is there any way to define XML command synonyms? Assume that one defined \deifneXMLenvirnment[subsubsubsubsection]{...}{...} How to define '' as a synonym of 'subsubsubsubsection' without wrtiting the same code twice? Though the following does not yet

Re: [NTG-context] XML command synonyms

2003-09-25 Thread Willi Egger
to define XML command synonyms? Assume that one defined \deifneXMLenvirnment[subsubsubsubsection]{...}{...} How to define '' as a synonym of 'subsubsubsubsection' without wrtiting the same code twice? Though the following does not yet really work the solution must

Re: [NTG-context] XML command synonyms

2003-09-25 Thread Simon Pepping
On Thu, Sep 25, 2003 at 02:57:17PM +0200, Pawel Jackowski na Onet wrote: Hi all! Is there any way to define XML command synonyms? Assume that one defined \deifneXMLenvirnment[subsubsubsubsection]{...}{...} How to define '' as a synonym of 'subsubsubsubsection